﻿@using KRM.Core
@{
    var CompanyVariables = (List<tblCompanyVariable>)ViewBag.CompanyVariables ?? new List<tblCompanyVariable>();
}
<table class="table table-bordered table-fix tbl-selected krmtable" id="tb-company" data-height="270">
    <thead id="tb-heldorder-head">
        <tr>
            <th>ID</th>
            <th>Setting </th>
            <th>Value</th>
            <th>Type</th>
            <th>Description</th>
        </tr>
    </thead>
    <tbody>
        @foreach (var item in CompanyVariables)
        {
            <tr style="cursor:pointer" onclick="CompanyVariablesDetail(@item.CompanyVariableID)">
                <td>@item.CompanyVariableID</td>
                <td>@item.Setting</td>
                <td>@item.Value</td>
                <td>@item.Type</td>
                <td>@item.Description</td>
            </tr>
        }
    </tbody>
</table>
